.class Lcom/estrongs/fs/impl/local/b$g;
.super Lcom/estrongs/fs/impl/local/b$f;
.source "DocumentTreeAuthHelper.java"


# annotations
.annotation build Landroid/annotation/TargetApi;
    value = 0x18
.end annotation

.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/fs/impl/local/b;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0xa
    name = "g"
.end annotation


# instance fields
.field private d:Ljava/lang/String;


# direct methods
.method private constructor <init>(Lcom/jecelyin/editor/v2/ui/d;Lcom/estrongs/fs/impl/local/b$e;Ljava/lang/String;)V
    .locals 1

    const/4 v0, 0x0

    .line 5
    invoke-direct {p0, p1, p2, v0}, Lcom/estrongs/fs/impl/local/b$f;-><init>(Lcom/jecelyin/editor/v2/ui/d;Lcom/estrongs/fs/impl/local/b$e;Lcom/estrongs/fs/impl/local/b$a;)V

    .line 6
    iput-object p3, p0, Lcom/estrongs/fs/impl/local/b$g;->d:Ljava/lang/String;

    return-void
.end method

.method synthetic constructor <init>(Lcom/jecelyin/editor/v2/ui/d;Lcom/estrongs/fs/impl/local/b$e;Ljava/lang/String;Lcom/estrongs/fs/impl/local/b$a;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1, p2, p3}, Lcom/estrongs/fs/impl/local/b$g;-><init>(Lcom/jecelyin/editor/v2/ui/d;Lcom/estrongs/fs/impl/local/b$e;Ljava/lang/String;)V

    return-void
.end method

.method private constructor <init>(Les/sp;Lcom/estrongs/fs/impl/local/b$e;Ljava/lang/String;)V
    .locals 1

    const/4 v0, 0x0

    .line 3
    invoke-direct {p0, p1, p2, v0}, Lcom/estrongs/fs/impl/local/b$f;-><init>(Les/sp;Lcom/estrongs/fs/impl/local/b$e;Lcom/estrongs/fs/impl/local/b$a;)V

    .line 4
    iput-object p3, p0, Lcom/estrongs/fs/impl/local/b$g;->d:Ljava/lang/String;

    return-void
.end method

.method synthetic constructor <init>(Les/sp;Lcom/estrongs/fs/impl/local/b$e;Ljava/lang/String;Lcom/estrongs/fs/impl/local/b$a;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1, p2, p3}, Lcom/estrongs/fs/impl/local/b$g;-><init>(Les/sp;Lcom/estrongs/fs/impl/local/b$e;Ljava/lang/String;)V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 0

    return-void
.end method

.method b()Z
    .locals 3

    .line 1
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v0

    const-string v1, "storage"

    invoke-virtual {v0, v1}, Landroid/app/Application;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/os/storage/StorageManager;

    if-eqz v0, :cond_0

    .line 2
    new-instance v1, Ljava/io/File;

    iget-object v2, p0, Lcom/estrongs/fs/impl/local/b$g;->d:Ljava/lang/String;

    invoke-direct {v1, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Landroid/os/storage/StorageManager;->getStorageVolume(Ljava/io/File;)Landroid/os/storage/StorageVolume;

    move-result-object v0

    if-eqz v0, :cond_0

    const/4 v1, 0x0

    .line 3
    invoke-virtual {v0, v1}, Landroid/os/storage/StorageVolume;->createAccessIntent(Ljava/lang/String;)Landroid/content/Intent;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 4
    invoke-virtual {p0, v0}, Lcom/estrongs/fs/impl/local/b$f;->a(Landroid/content/Intent;)V

    const/4 v0, 0x1

    return v0

    :cond_0
    const/4 v0, 0x0

    return v0
.end method
